package com.chianghao.rock.system.entity;

import com.chianghao.core.db.annotation.Entity;
import com.chianghao.core.db.annotation.Property;

@Entity(title="角色",prefix = "sys")
public class Role {

	@Property(title="主键",primary = true)
	private Long id;
	
	@Property(title="名称")
	private String name;

	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

}
